<!DOCTYPE html
    PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head>
    <title>添加用户</title>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
    <script src="../../myjs/util.js"></script>
    <script>
        isHasToken();
    </script>
    <script src="../../miniui/scripts/boot.js" type="text/javascript"></script>


    <style type="text/css">
        html,
        body {
            padding: 0;
            margin: 0;
            border: 0;
            height: 100%;
            overflow: hidden;
        }
    </style>
</head>

<body>

    <form id="archivesForm" method="post">
        <input name="uuid" class="mini-hidden" />
        <fieldset style="border:solid 1px #aaa;padding:3px;">
            <legend>基本信息</legend>
            <div style="padding:5px;">
                <table>
                    <tr>
                        <td style="width:80px;">档案名称</td>
                        <td style="width:150px;">
                            <input id="archName" name="archName" class="mini-textbox" required="true" value="档案"/>
                        </td>
                        <td>居民姓名</td>
                        <td>
                            <input name="resident" class="mini-textbox" required="true" value="居民"/>
                        </td>
                    </tr>

                    <tr>

                        <td style="width:80px;">出生日期</td>
                        <td style="width:150px">
                            <input class="mini-datepicker" name="birth" required="true"/>
                        </td>
                      
                        <td style="width:80px;">性别</td>
                        <td>
                            <select name="sex" class="mini-radiobuttonlist">
                                <option value="1">男</option>
                                <option value="2">女</option>
                            </select>
                        </td>
                    </tr>

                    <tr>
                        <td style="width:80px;">身份证</td>
                        <td style="width:150px;">
                            <input name="card" class="mini-textbox" required="true" onvalidation="onIDCardsValidation"  value="330324200006301217"/>
                        </td>

                        <td>区划</td>
                        <td>
                            <input id="Division" name="did" class="mini-treeselect"  multiSelect="false" 
                                valueFromSelect="false" textField="dname" valueField="did" parentField="pid"
                                value="control" onbeforenodeselect="beforenodeselect" allowInput="true" required="true"
                                showRadioButton="true" showFolderCheckBox="false" />
                        </td>
                    </tr>

                    <tr>
                        <td style="width:80px;">是否高血压</td>
                        <td>
                            <select name="isBlood" class="mini-radiobuttonlist">
                                <option value="1">是</option>
                                <option value="2">否</option>
                            </select>
                        </td>

                        <td style="width:80px;">是否糖尿病</td>
                        <td>
                            <select name="isSuger" class="mini-radiobuttonlist">
                                <option value="1">是</option>
                                <option value="2">否</option>
                            </select>
                        </td>
                    </tr>

                    <tr>
                        <td style="width:80px;">负责医生</td>
                        <td>
                            <input id="nicknameBtn" name="uuid" textField="nickname" valueField="uuid" class="mini-buttonedit" onbuttonclick="getDocker" required="true"/>    
                        </td>
                    </tr>
                </table>
            </div>
        </fieldset>
        <div style="text-align:center;padding:10px;">
            <a class="mini-button" onclick="onOk" style="width:60px;margin-right:20px;">确定</a>
            <a class="mini-button" onclick="onCancel" style="width:60px;">取消</a>
        </div>
    </form>
</body>

</html>
<script src="../../myjs/archives/my/addUpdate.js"></script>